

package cn.shengchao.examstart.user.acl.adapters.client;

import cn.shengchao.examstar.dict.ohs.local.appservices.ExamStarDictAppService;
import cn.shengchao.examstart.user.acl.ports.client.IDictClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class DictClient implements IDictClient {

    @Autowired
    private ExamStarDictAppService examStarDictAppService;

    @Override
    public Map<String, String> getAllDict() {
        return examStarDictAppService.getAllDict();
    }

    @Override
    public Map<String, String> getAllDictItem() {
        return examStarDictAppService.getAllDictItem();
    }
}
